﻿<div ng-controller="AddRoleController">
    <form ng-submit="addRole()" novalidate>
        <input type="text" ng-model="role.name" value="" />
        
        <ul ng-tree="rolesList">
            <li each="obj in ChildrenRoles" select="selected()"><input type="radio" name="name" value="" /> {{obj.Name}}</li>
        </ul>
        

        <button type="submit">افزودن نقش</button>
    </form>
</div>